package cn.edu.hdu.worktbench;

public class ProposalService extends AbstractFactory {

    @Override
    public ClockService doClock(String what) {
        return null;
    }

    @Override
    public ComponentService doComponent(String what) {
        return null;
    }

    @Override
    public InformationService doInformation(String what) {
        return null;
    }

    @Override
    public ProposalService doProposal(String what) {
        if(what.equalsIgnoreCase("Publish")){

            System.out.println("Publish Successful");
        }else if(what.equalsIgnoreCase("Delete")){

            System.out.println("Delete Successful");
        }else if(what.equalsIgnoreCase("Edit")){


            System.out.println("Edit Successful");
        }
    return null;
    }
}
